package com.luoran.bartalks.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.Param;
import org.beetl.sql.core.mapper.BaseMapper;

import com.luoran.bartalks.entity.biz.BtMaterielType;

public interface IBtMaterielTypeDao extends BaseMapper<BtMaterielType> {

	// 根据公司ID获取物料类型集合
	List<BtMaterielType> getMaterielTypeByCompanyId(@Param("companyId") String companyId);

	// 根据物料类型编码,公司ID查询物料类型信息
	BtMaterielType getMaterielTypeByTypeCode(@Param("typeCode") String typeCode, @Param("companyId") String companyId);

}
